# Contributor: Magnus Sandin <magnus.sandin@gmail.com>
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
pkgname=py3-pulsectl
_pkgreal=pulsectl
pkgver=23.5.2
pkgrel=0
pkgdesc="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)"
options="!check" # No tests available
url="https://pypi.org/project/pulsectl/"
arch="noarch"
license="MIT"
depends="python3 libpulse"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install \
		--skip-build \
		--root="$pkgdir"
}

sha512sums="
4f05edd994aac1964c358c50a95f564afb40fcc6ac410d5189525312c042057954d040dc41939b665347a39453244eccc138c4c7d628ef2da62034606716ecb9  pulsectl-23.5.2.tar.gz
"
